<style>
.lookupRepairOrder span.error{
    position:absolute     !important;

    left:257px;
}
</style>
<div class="pageContent">
    <form method="post"
        action="${rc.getContextPath()}/manage/runningRecord/saveRunningRecord"
        class="pageForm required-validate"
        onsubmit="return validateCallback(this, dialogAjaxDone);">
        <div class="pageFormContent">
            <input type="hidden" name="navTabId" value="${navTabId!''}">
            <input type="hidden" name="id"
                value="<#if (runningRecord.id)??>${runningRecord.id!''}</#if>" />
            <input type="hidden" name="pattern"
                value="${pattern!''}" />
            <fieldset>
                <dl>
                    <dt><@label key="equipmentCode.C,colon">设备编号：</@label></dt>
                    <dd>
                      <input class="required " id="equipmentLookup.equipmentCode" name="equipmentCode" type="text" readonly ="readonly" value="${runningRecord.equipmentCode!''}"
                    </dd>
                </dl>
                <dl>
                    <dt><@label key='equipmentText.C,colon'>设备描述：</@label></dt>
                    <dd><input id="equipmentLookup.equipmentText" readonly="readonly" size="22" type="text" maxlength="60" name="equipmentText" value="${runningRecord.equipmentText!''}" />
                    </dd>
                </dl>
                <dl>
                    <dt><@label key='equipmentStatusCode.C,colon'>设备状态：</@label></dt>
                    <dd >
                        <input class="required" id="statusLookup.statusCode" name="statusCode"  type="text" postField="statusCode" readonly ="readonly"value="${runningRecord.statusCode!''}"
                    </dd>
                </dl>
                <dl>
                    <dt><@label key="equipmentStatusText.C,colon">设备状态描述：</@label></dt>
                    <dd>
                        <input name="statusText" id="statusLookup.statusText" readonly="readonly"
                            value="${runningRecord.statusText!''}"
                            size="22" type="text" maxlength="60"  />
                    </dd>
                </dl>
                <dl>
                    <dt><@label key="startTime.C,colon">运行开始时间：</@label></dt>
                    <dd>
                        <input name="startTime"value="${(runningRecord.startTime?string('yyyy-MM-dd HH:mm'))?if_exists}"
                            size="22" type="text"  readonly ="readonly" dateFmt="yyyy-MM-dd HH:mm"/>
                    </dd>
                </dl>
                <dl>
                    <dt><@label key="endTime.C,colon">运行结束时间：</@label></dt>
                    <dd>
                        <input name="endTime"value="${(runningRecord.endTime?string('yyyy-MM-dd HH:mm'))?if_exists}"
                            size="22" type="text" readonly ="readonly" dateFmt="yyyy-MM-dd HH:mm"/>
                    </dd>
                </dl>
                <dl style="width:600px;height:90px;float:left;">
                    <dt><@label key='memo.C,colon'>备注：</@label></dt>
                    <dd>
                        <textarea style="width:435px;" readonly ="readonly" name="memo"  maxlength="200" value="${runningRecord.memo!''}" rows="4"><#if (runningRecord.memo)??>${runningRecord.memo!''}</#if></textarea>
                    </dd>
                </dl>
            </fieldset>
        </div>
        <#if pattern!="add" && runningRecord??>
            <#assign createInfo=runningRecord>
            <#include "/common/createInfo.html">
        </#if>
        <div class="formBar">
            <ul>
                    <li>
                        <div class="buttonActive">
                            <div class="buttonContent">
                                    <button type="button" class="close"><@label key="close.B">关闭</@label></button>
                            </div>
                        </div>
                    </li>
            </ul>
        </div>
    </form>
</div>
